package lab02.Text09;

/**
 * Created by Administrator on 2017/10/23.
 */
public class Student {
    //“学号”、“班号”、“姓名”、“性别”、“年龄”
    String number;
    String CLASS;
    String name;
    int age;
    int sex;
    //“获得学号”、“获得班号”、“获得性别”、“获得姓名”、“获得年龄”、“获得年龄”。

    void getCLASS() {}
    void getsex(){}
    void getname (){}
    void getage (){}

    public String toString(){
        String k="number:"+number+"\n classnumber:"+CLASS+
                "\n name:"+name+"\n sex"+sex+"\n age"+age;
        return k;
    }
}

